import request from '@/utils/request'

const api = {
  List: 'hospitalWeb/hospitalPage',
  Add: 'hospitalWeb/hospitalAdd'

}

export default api

export function hospitalPage(parameter) {
  return request({
    url: api.List,
    method: 'get',
    params: parameter
  })
}

export function hospitalAdd(parameter) {
  return request({
    url: api.Add,
    method: 'POST',
    data: parameter
  })
}
